Builder

class Builder : GeneratedMessage.Builder<BuilderT> , ConfigProtos.Config.PositionConfigOrBuilder

Position Config
Protobuf type meshtastic.Config.PositionConfig

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_distance = 10;
Link copied to clipboard

The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_interval_secs = 11;
Link copied to clipboard

If set, this node is at a fixed position.
We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
bool fixed_position = 3;
Link copied to clipboard

Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
uint32 gps_attempt_time = 6 [deprecated = true];
Link copied to clipboard

Is GPS enabled for this node?
bool gps_enabled = 4 [deprecated = true];
Link copied to clipboard

(Re)define PIN_GPS_EN for your board.
uint32 gps_en_gpio = 12;
Link copied to clipboard

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard

How often should we try to get GPS position (in seconds)
or zero for the default of once every 30 seconds
or a very large value (maxint) to update only once at boot.
uint32 gps_update_interval = 5;
Link copied to clipboard

We should send our position this often (but only if it has changed significantly)
Defaults to 15 minutes
uint32 position_broadcast_secs = 1;
Link copied to clipboard

Adaptive position braoadcast, which is now the default.
bool position_broadcast_smart_enabled = 2;
Link copied to clipboard

Bit field of boolean configuration options for POSITION messages
(bitwise OR of PositionFlags)
uint32 position_flags = 7;
Link copied to clipboard

(Re)define GPS_RX_PIN for your board.
uint32 rx_gpio = 8;
Link copied to clipboard

(Re)define GPS_TX_PIN for your board.
uint32 tx_gpio = 9;
Link copied to clipboard

The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_distance = 10;
Link copied to clipboard

The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_interval_secs = 11;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard

If set, this node is at a fixed position.
We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
bool fixed_position = 3;
Link copied to clipboard

Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
uint32 gps_attempt_time = 6 [deprecated = true];
Link copied to clipboard

Is GPS enabled for this node?
bool gps_enabled = 4 [deprecated = true];
Link copied to clipboard
open fun getGpsEnGpio(): Int

(Re)define PIN_GPS_EN for your board.
uint32 gps_en_gpio = 12;
Link copied to clipboard

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard
open fun getGpsModeValue(): Int

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard

How often should we try to get GPS position (in seconds)
or zero for the default of once every 30 seconds
or a very large value (maxint) to update only once at boot.
uint32 gps_update_interval = 5;
Link copied to clipboard

We should send our position this often (but only if it has changed significantly)
Defaults to 15 minutes
uint32 position_broadcast_secs = 1;
Link copied to clipboard

Adaptive position braoadcast, which is now the default.
bool position_broadcast_smart_enabled = 2;
Link copied to clipboard
open fun getPositionFlags(): Int

Bit field of boolean configuration options for POSITION messages
(bitwise OR of PositionFlags)
uint32 position_flags = 7;
Link copied to clipboard
open fun getRxGpio(): Int

(Re)define GPS_RX_PIN for your board.
uint32 rx_gpio = 8;
Link copied to clipboard
open fun getTxGpio(): Int

(Re)define GPS_TX_PIN for your board.
uint32 tx_gpio = 9;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PositionConfig.Builder
Link copied to clipboard

The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_distance = 10;
Link copied to clipboard

The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_interval_secs = 11;
Link copied to clipboard

If set, this node is at a fixed position.
We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
bool fixed_position = 3;
Link copied to clipboard

Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
uint32 gps_attempt_time = 6 [deprecated = true];
Link copied to clipboard

Is GPS enabled for this node?
bool gps_enabled = 4 [deprecated = true];
Link copied to clipboard

(Re)define PIN_GPS_EN for your board.
uint32 gps_en_gpio = 12;
Link copied to clipboard

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard

How often should we try to get GPS position (in seconds)
or zero for the default of once every 30 seconds
or a very large value (maxint) to update only once at boot.
uint32 gps_update_interval = 5;
Link copied to clipboard

We should send our position this often (but only if it has changed significantly)
Defaults to 15 minutes
uint32 position_broadcast_secs = 1;
Link copied to clipboard

Adaptive position braoadcast, which is now the default.
bool position_broadcast_smart_enabled = 2;
Link copied to clipboard

Bit field of boolean configuration options for POSITION messages
(bitwise OR of PositionFlags)
uint32 position_flags = 7;
Link copied to clipboard

(Re)define GPS_RX_PIN for your board.
uint32 rx_gpio = 8;
Link copied to clipboard

(Re)define GPS_TX_PIN for your board.
uint32 tx_gpio = 9;